package com.zto.mapper;

import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;
import java.util.Map;

/**
 * @program: sch-diy-parent
 * @description:
 * @author: sch
 * @create: 2020-11-29 22:31
 **/
@Mapper
//@CacheNamespace//开启二级缓存
public interface UserMapper {
//    @Select("select * from user")
    List<Map<String, Object>> listAllUser();

//    @Update("update user set name = 'lingling2' where id = 1")
//    int updateByParam();
}
